<?php
class ymdian_kclogModel extends model{
	public $base;
	function __construct(&$base){
		parent::__construct($base);
		$this->base=$base;
		$this->table="ymdian_kclog";
	}
	
	public function onAdd($shopid,$productid,$num){
		$row=M("ymdian")->selectRow("shopid=".$shopid." AND productid=".$productid."");
		
	}
	
}
?>